package com.akk.module.avs.entity;

import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

@Component
public class AvsPayAccessExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AvsPayAccessExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPayAccessIdIsNull() {
            addCriterion("pay_access_id is null");
            return (Criteria) this;
        }

        public Criteria andPayAccessIdIsNotNull() {
            addCriterion("pay_access_id is not null");
            return (Criteria) this;
        }

        public Criteria andPayAccessIdEqualTo(String value) {
            addCriterion("pay_access_id =", value, "payAccessId");
            return (Criteria) this;
        }

        public Criteria andPayAccessIdNotEqualTo(String value) {
            addCriterion("pay_access_id <>", value, "payAccessId");
            return (Criteria) this;
        }

        public Criteria andPayAccessIdGreaterThan(String value) {
            addCriterion("pay_access_id >", value, "payAccessId");
            return (Criteria) this;
        }

        public Criteria andPayAccessIdGreaterThanOrEqualTo(String value) {
            addCriterion("pay_access_id >=", value, "payAccessId");
            return (Criteria) this;
        }

        public Criteria andPayAccessIdLessThan(String value) {
            addCriterion("pay_access_id <", value, "payAccessId");
            return (Criteria) this;
        }

        public Criteria andPayAccessIdLessThanOrEqualTo(String value) {
            addCriterion("pay_access_id <=", value, "payAccessId");
            return (Criteria) this;
        }

        public Criteria andPayAccessIdLike(String value) {
            addCriterion("pay_access_id like", value, "payAccessId");
            return (Criteria) this;
        }

        public Criteria andPayAccessIdNotLike(String value) {
            addCriterion("pay_access_id not like", value, "payAccessId");
            return (Criteria) this;
        }

        public Criteria andPayAccessIdIn(List<String> values) {
            addCriterion("pay_access_id in", values, "payAccessId");
            return (Criteria) this;
        }

        public Criteria andPayAccessIdNotIn(List<String> values) {
            addCriterion("pay_access_id not in", values, "payAccessId");
            return (Criteria) this;
        }

        public Criteria andPayAccessIdBetween(String value1, String value2) {
            addCriterion("pay_access_id between", value1, value2, "payAccessId");
            return (Criteria) this;
        }

        public Criteria andPayAccessIdNotBetween(String value1, String value2) {
            addCriterion("pay_access_id not between", value1, value2, "payAccessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdIsNull() {
            addCriterion("access_id is null");
            return (Criteria) this;
        }

        public Criteria andAccessIdIsNotNull() {
            addCriterion("access_id is not null");
            return (Criteria) this;
        }

        public Criteria andAccessIdEqualTo(String value) {
            addCriterion("access_id =", value, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdNotEqualTo(String value) {
            addCriterion("access_id <>", value, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdGreaterThan(String value) {
            addCriterion("access_id >", value, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdGreaterThanOrEqualTo(String value) {
            addCriterion("access_id >=", value, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdLessThan(String value) {
            addCriterion("access_id <", value, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdLessThanOrEqualTo(String value) {
            addCriterion("access_id <=", value, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdLike(String value) {
            addCriterion("access_id like", value, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdNotLike(String value) {
            addCriterion("access_id not like", value, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdIn(List<String> values) {
            addCriterion("access_id in", values, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdNotIn(List<String> values) {
            addCriterion("access_id not in", values, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdBetween(String value1, String value2) {
            addCriterion("access_id between", value1, value2, "accessId");
            return (Criteria) this;
        }

        public Criteria andAccessIdNotBetween(String value1, String value2) {
            addCriterion("access_id not between", value1, value2, "accessId");
            return (Criteria) this;
        }

        public Criteria andSingleTimeIsNull() {
            addCriterion("single_time is null");
            return (Criteria) this;
        }

        public Criteria andSingleTimeIsNotNull() {
            addCriterion("single_time is not null");
            return (Criteria) this;
        }

        public Criteria andSingleTimeEqualTo(Double value) {
            addCriterion("single_time =", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeNotEqualTo(Double value) {
            addCriterion("single_time <>", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeGreaterThan(Double value) {
            addCriterion("single_time >", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeGreaterThanOrEqualTo(Double value) {
            addCriterion("single_time >=", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeLessThan(Double value) {
            addCriterion("single_time <", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeLessThanOrEqualTo(Double value) {
            addCriterion("single_time <=", value, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeIn(List<Double> values) {
            addCriterion("single_time in", values, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeNotIn(List<Double> values) {
            addCriterion("single_time not in", values, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeBetween(Double value1, Double value2) {
            addCriterion("single_time between", value1, value2, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleTimeNotBetween(Double value1, Double value2) {
            addCriterion("single_time not between", value1, value2, "singleTime");
            return (Criteria) this;
        }

        public Criteria andSingleCardIsNull() {
            addCriterion("single_card is null");
            return (Criteria) this;
        }

        public Criteria andSingleCardIsNotNull() {
            addCriterion("single_card is not null");
            return (Criteria) this;
        }

        public Criteria andSingleCardEqualTo(Double value) {
            addCriterion("single_card =", value, "singleCard");
            return (Criteria) this;
        }

        public Criteria andSingleCardNotEqualTo(Double value) {
            addCriterion("single_card <>", value, "singleCard");
            return (Criteria) this;
        }

        public Criteria andSingleCardGreaterThan(Double value) {
            addCriterion("single_card >", value, "singleCard");
            return (Criteria) this;
        }

        public Criteria andSingleCardGreaterThanOrEqualTo(Double value) {
            addCriterion("single_card >=", value, "singleCard");
            return (Criteria) this;
        }

        public Criteria andSingleCardLessThan(Double value) {
            addCriterion("single_card <", value, "singleCard");
            return (Criteria) this;
        }

        public Criteria andSingleCardLessThanOrEqualTo(Double value) {
            addCriterion("single_card <=", value, "singleCard");
            return (Criteria) this;
        }

        public Criteria andSingleCardIn(List<Double> values) {
            addCriterion("single_card in", values, "singleCard");
            return (Criteria) this;
        }

        public Criteria andSingleCardNotIn(List<Double> values) {
            addCriterion("single_card not in", values, "singleCard");
            return (Criteria) this;
        }

        public Criteria andSingleCardBetween(Double value1, Double value2) {
            addCriterion("single_card between", value1, value2, "singleCard");
            return (Criteria) this;
        }

        public Criteria andSingleCardNotBetween(Double value1, Double value2) {
            addCriterion("single_card not between", value1, value2, "singleCard");
            return (Criteria) this;
        }

        public Criteria andSingleUserIsNull() {
            addCriterion("single_user is null");
            return (Criteria) this;
        }

        public Criteria andSingleUserIsNotNull() {
            addCriterion("single_user is not null");
            return (Criteria) this;
        }

        public Criteria andSingleUserEqualTo(Double value) {
            addCriterion("single_user =", value, "singleUser");
            return (Criteria) this;
        }

        public Criteria andSingleUserNotEqualTo(Double value) {
            addCriterion("single_user <>", value, "singleUser");
            return (Criteria) this;
        }

        public Criteria andSingleUserGreaterThan(Double value) {
            addCriterion("single_user >", value, "singleUser");
            return (Criteria) this;
        }

        public Criteria andSingleUserGreaterThanOrEqualTo(Double value) {
            addCriterion("single_user >=", value, "singleUser");
            return (Criteria) this;
        }

        public Criteria andSingleUserLessThan(Double value) {
            addCriterion("single_user <", value, "singleUser");
            return (Criteria) this;
        }

        public Criteria andSingleUserLessThanOrEqualTo(Double value) {
            addCriterion("single_user <=", value, "singleUser");
            return (Criteria) this;
        }

        public Criteria andSingleUserIn(List<Double> values) {
            addCriterion("single_user in", values, "singleUser");
            return (Criteria) this;
        }

        public Criteria andSingleUserNotIn(List<Double> values) {
            addCriterion("single_user not in", values, "singleUser");
            return (Criteria) this;
        }

        public Criteria andSingleUserBetween(Double value1, Double value2) {
            addCriterion("single_user between", value1, value2, "singleUser");
            return (Criteria) this;
        }

        public Criteria andSingleUserNotBetween(Double value1, Double value2) {
            addCriterion("single_user not between", value1, value2, "singleUser");
            return (Criteria) this;
        }

        public Criteria andRateIsNull() {
            addCriterion("rate is null");
            return (Criteria) this;
        }

        public Criteria andRateIsNotNull() {
            addCriterion("rate is not null");
            return (Criteria) this;
        }

        public Criteria andRateEqualTo(Double value) {
            addCriterion("rate =", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateNotEqualTo(Double value) {
            addCriterion("rate <>", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateGreaterThan(Double value) {
            addCriterion("rate >", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateGreaterThanOrEqualTo(Double value) {
            addCriterion("rate >=", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateLessThan(Double value) {
            addCriterion("rate <", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateLessThanOrEqualTo(Double value) {
            addCriterion("rate <=", value, "rate");
            return (Criteria) this;
        }

        public Criteria andRateIn(List<Double> values) {
            addCriterion("rate in", values, "rate");
            return (Criteria) this;
        }

        public Criteria andRateNotIn(List<Double> values) {
            addCriterion("rate not in", values, "rate");
            return (Criteria) this;
        }

        public Criteria andRateBetween(Double value1, Double value2) {
            addCriterion("rate between", value1, value2, "rate");
            return (Criteria) this;
        }

        public Criteria andRateNotBetween(Double value1, Double value2) {
            addCriterion("rate not between", value1, value2, "rate");
            return (Criteria) this;
        }

        public Criteria andDepositIsNull() {
            addCriterion("deposit is null");
            return (Criteria) this;
        }

        public Criteria andDepositIsNotNull() {
            addCriterion("deposit is not null");
            return (Criteria) this;
        }

        public Criteria andDepositEqualTo(Integer value) {
            addCriterion("deposit =", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositNotEqualTo(Integer value) {
            addCriterion("deposit <>", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositGreaterThan(Integer value) {
            addCriterion("deposit >", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositGreaterThanOrEqualTo(Integer value) {
            addCriterion("deposit >=", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositLessThan(Integer value) {
            addCriterion("deposit <", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositLessThanOrEqualTo(Integer value) {
            addCriterion("deposit <=", value, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositIn(List<Integer> values) {
            addCriterion("deposit in", values, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositNotIn(List<Integer> values) {
            addCriterion("deposit not in", values, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositBetween(Integer value1, Integer value2) {
            addCriterion("deposit between", value1, value2, "deposit");
            return (Criteria) this;
        }

        public Criteria andDepositNotBetween(Integer value1, Integer value2) {
            addCriterion("deposit not between", value1, value2, "deposit");
            return (Criteria) this;
        }

        public Criteria andTransStartIsNull() {
            addCriterion("trans_start is null");
            return (Criteria) this;
        }

        public Criteria andTransStartIsNotNull() {
            addCriterion("trans_start is not null");
            return (Criteria) this;
        }

        public Criteria andTransStartEqualTo(Integer value) {
            addCriterion("trans_start =", value, "transStart");
            return (Criteria) this;
        }

        public Criteria andTransStartNotEqualTo(Integer value) {
            addCriterion("trans_start <>", value, "transStart");
            return (Criteria) this;
        }

        public Criteria andTransStartGreaterThan(Integer value) {
            addCriterion("trans_start >", value, "transStart");
            return (Criteria) this;
        }

        public Criteria andTransStartGreaterThanOrEqualTo(Integer value) {
            addCriterion("trans_start >=", value, "transStart");
            return (Criteria) this;
        }

        public Criteria andTransStartLessThan(Integer value) {
            addCriterion("trans_start <", value, "transStart");
            return (Criteria) this;
        }

        public Criteria andTransStartLessThanOrEqualTo(Integer value) {
            addCriterion("trans_start <=", value, "transStart");
            return (Criteria) this;
        }

        public Criteria andTransStartIn(List<Integer> values) {
            addCriterion("trans_start in", values, "transStart");
            return (Criteria) this;
        }

        public Criteria andTransStartNotIn(List<Integer> values) {
            addCriterion("trans_start not in", values, "transStart");
            return (Criteria) this;
        }

        public Criteria andTransStartBetween(Integer value1, Integer value2) {
            addCriterion("trans_start between", value1, value2, "transStart");
            return (Criteria) this;
        }

        public Criteria andTransStartNotBetween(Integer value1, Integer value2) {
            addCriterion("trans_start not between", value1, value2, "transStart");
            return (Criteria) this;
        }

        public Criteria andTransEndIsNull() {
            addCriterion("trans_end is null");
            return (Criteria) this;
        }

        public Criteria andTransEndIsNotNull() {
            addCriterion("trans_end is not null");
            return (Criteria) this;
        }

        public Criteria andTransEndEqualTo(Integer value) {
            addCriterion("trans_end =", value, "transEnd");
            return (Criteria) this;
        }

        public Criteria andTransEndNotEqualTo(Integer value) {
            addCriterion("trans_end <>", value, "transEnd");
            return (Criteria) this;
        }

        public Criteria andTransEndGreaterThan(Integer value) {
            addCriterion("trans_end >", value, "transEnd");
            return (Criteria) this;
        }

        public Criteria andTransEndGreaterThanOrEqualTo(Integer value) {
            addCriterion("trans_end >=", value, "transEnd");
            return (Criteria) this;
        }

        public Criteria andTransEndLessThan(Integer value) {
            addCriterion("trans_end <", value, "transEnd");
            return (Criteria) this;
        }

        public Criteria andTransEndLessThanOrEqualTo(Integer value) {
            addCriterion("trans_end <=", value, "transEnd");
            return (Criteria) this;
        }

        public Criteria andTransEndIn(List<Integer> values) {
            addCriterion("trans_end in", values, "transEnd");
            return (Criteria) this;
        }

        public Criteria andTransEndNotIn(List<Integer> values) {
            addCriterion("trans_end not in", values, "transEnd");
            return (Criteria) this;
        }

        public Criteria andTransEndBetween(Integer value1, Integer value2) {
            addCriterion("trans_end between", value1, value2, "transEnd");
            return (Criteria) this;
        }

        public Criteria andTransEndNotBetween(Integer value1, Integer value2) {
            addCriterion("trans_end not between", value1, value2, "transEnd");
            return (Criteria) this;
        }

        public Criteria andPayStatusIsNull() {
            addCriterion("pay_status is null");
            return (Criteria) this;
        }

        public Criteria andPayStatusIsNotNull() {
            addCriterion("pay_status is not null");
            return (Criteria) this;
        }

        public Criteria andPayStatusEqualTo(Integer value) {
            addCriterion("pay_status =", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotEqualTo(Integer value) {
            addCriterion("pay_status <>", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusGreaterThan(Integer value) {
            addCriterion("pay_status >", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("pay_status >=", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusLessThan(Integer value) {
            addCriterion("pay_status <", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusLessThanOrEqualTo(Integer value) {
            addCriterion("pay_status <=", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusIn(List<Integer> values) {
            addCriterion("pay_status in", values, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotIn(List<Integer> values) {
            addCriterion("pay_status not in", values, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusBetween(Integer value1, Integer value2) {
            addCriterion("pay_status between", value1, value2, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("pay_status not between", value1, value2, "payStatus");
            return (Criteria) this;
        }

        public Criteria andGatewayCostIsNull() {
            addCriterion("gateway_cost is null");
            return (Criteria) this;
        }

        public Criteria andGatewayCostIsNotNull() {
            addCriterion("gateway_cost is not null");
            return (Criteria) this;
        }

        public Criteria andGatewayCostEqualTo(Double value) {
            addCriterion("gateway_cost =", value, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostNotEqualTo(Double value) {
            addCriterion("gateway_cost <>", value, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostGreaterThan(Double value) {
            addCriterion("gateway_cost >", value, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostGreaterThanOrEqualTo(Double value) {
            addCriterion("gateway_cost >=", value, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostLessThan(Double value) {
            addCriterion("gateway_cost <", value, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostLessThanOrEqualTo(Double value) {
            addCriterion("gateway_cost <=", value, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostIn(List<Double> values) {
            addCriterion("gateway_cost in", values, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostNotIn(List<Double> values) {
            addCriterion("gateway_cost not in", values, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostBetween(Double value1, Double value2) {
            addCriterion("gateway_cost between", value1, value2, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andGatewayCostNotBetween(Double value1, Double value2) {
            addCriterion("gateway_cost not between", value1, value2, "gatewayCost");
            return (Criteria) this;
        }

        public Criteria andClearRateIsNull() {
            addCriterion("clear_rate is null");
            return (Criteria) this;
        }

        public Criteria andClearRateIsNotNull() {
            addCriterion("clear_rate is not null");
            return (Criteria) this;
        }

        public Criteria andClearRateEqualTo(Double value) {
            addCriterion("clear_rate =", value, "clearRate");
            return (Criteria) this;
        }

        public Criteria andClearRateNotEqualTo(Double value) {
            addCriterion("clear_rate <>", value, "clearRate");
            return (Criteria) this;
        }

        public Criteria andClearRateGreaterThan(Double value) {
            addCriterion("clear_rate >", value, "clearRate");
            return (Criteria) this;
        }

        public Criteria andClearRateGreaterThanOrEqualTo(Double value) {
            addCriterion("clear_rate >=", value, "clearRate");
            return (Criteria) this;
        }

        public Criteria andClearRateLessThan(Double value) {
            addCriterion("clear_rate <", value, "clearRate");
            return (Criteria) this;
        }

        public Criteria andClearRateLessThanOrEqualTo(Double value) {
            addCriterion("clear_rate <=", value, "clearRate");
            return (Criteria) this;
        }

        public Criteria andClearRateIn(List<Double> values) {
            addCriterion("clear_rate in", values, "clearRate");
            return (Criteria) this;
        }

        public Criteria andClearRateNotIn(List<Double> values) {
            addCriterion("clear_rate not in", values, "clearRate");
            return (Criteria) this;
        }

        public Criteria andClearRateBetween(Double value1, Double value2) {
            addCriterion("clear_rate between", value1, value2, "clearRate");
            return (Criteria) this;
        }

        public Criteria andClearRateNotBetween(Double value1, Double value2) {
            addCriterion("clear_rate not between", value1, value2, "clearRate");
            return (Criteria) this;
        }

        public Criteria andClearMoneyIsNull() {
            addCriterion("clear_money is null");
            return (Criteria) this;
        }

        public Criteria andClearMoneyIsNotNull() {
            addCriterion("clear_money is not null");
            return (Criteria) this;
        }

        public Criteria andClearMoneyEqualTo(Double value) {
            addCriterion("clear_money =", value, "clearMoney");
            return (Criteria) this;
        }

        public Criteria andClearMoneyNotEqualTo(Double value) {
            addCriterion("clear_money <>", value, "clearMoney");
            return (Criteria) this;
        }

        public Criteria andClearMoneyGreaterThan(Double value) {
            addCriterion("clear_money >", value, "clearMoney");
            return (Criteria) this;
        }

        public Criteria andClearMoneyGreaterThanOrEqualTo(Double value) {
            addCriterion("clear_money >=", value, "clearMoney");
            return (Criteria) this;
        }

        public Criteria andClearMoneyLessThan(Double value) {
            addCriterion("clear_money <", value, "clearMoney");
            return (Criteria) this;
        }

        public Criteria andClearMoneyLessThanOrEqualTo(Double value) {
            addCriterion("clear_money <=", value, "clearMoney");
            return (Criteria) this;
        }

        public Criteria andClearMoneyIn(List<Double> values) {
            addCriterion("clear_money in", values, "clearMoney");
            return (Criteria) this;
        }

        public Criteria andClearMoneyNotIn(List<Double> values) {
            addCriterion("clear_money not in", values, "clearMoney");
            return (Criteria) this;
        }

        public Criteria andClearMoneyBetween(Double value1, Double value2) {
            addCriterion("clear_money between", value1, value2, "clearMoney");
            return (Criteria) this;
        }

        public Criteria andClearMoneyNotBetween(Double value1, Double value2) {
            addCriterion("clear_money not between", value1, value2, "clearMoney");
            return (Criteria) this;
        }

        public Criteria andMinMoneyIsNull() {
            addCriterion("min_money is null");
            return (Criteria) this;
        }

        public Criteria andMinMoneyIsNotNull() {
            addCriterion("min_money is not null");
            return (Criteria) this;
        }

        public Criteria andMinMoneyEqualTo(Double value) {
            addCriterion("min_money =", value, "minMoney");
            return (Criteria) this;
        }

        public Criteria andMinMoneyNotEqualTo(Double value) {
            addCriterion("min_money <>", value, "minMoney");
            return (Criteria) this;
        }

        public Criteria andMinMoneyGreaterThan(Double value) {
            addCriterion("min_money >", value, "minMoney");
            return (Criteria) this;
        }

        public Criteria andMinMoneyGreaterThanOrEqualTo(Double value) {
            addCriterion("min_money >=", value, "minMoney");
            return (Criteria) this;
        }

        public Criteria andMinMoneyLessThan(Double value) {
            addCriterion("min_money <", value, "minMoney");
            return (Criteria) this;
        }

        public Criteria andMinMoneyLessThanOrEqualTo(Double value) {
            addCriterion("min_money <=", value, "minMoney");
            return (Criteria) this;
        }

        public Criteria andMinMoneyIn(List<Double> values) {
            addCriterion("min_money in", values, "minMoney");
            return (Criteria) this;
        }

        public Criteria andMinMoneyNotIn(List<Double> values) {
            addCriterion("min_money not in", values, "minMoney");
            return (Criteria) this;
        }

        public Criteria andMinMoneyBetween(Double value1, Double value2) {
            addCriterion("min_money between", value1, value2, "minMoney");
            return (Criteria) this;
        }

        public Criteria andMinMoneyNotBetween(Double value1, Double value2) {
            addCriterion("min_money not between", value1, value2, "minMoney");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}